package com.im.service.purchasePlan.dao;

import com.im.service.dto.FileUpload;
import com.im.service.dto.PurchasePlan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IPurchasePlanOperDAO {

    public void addPurchasePlan(PurchasePlan purchasePlan) throws Exception;

    public void updatePurchasePlan(PurchasePlan purchasePlan) throws Exception;

    public void deletePurchasePlan(PurchasePlan purchasePlan) throws Exception;

    public void updatePurchasePlanAll(PurchasePlan purchasePlan) throws Exception;

    public void deletePurchasePlanByIds(Map<String,Object> reqMap) throws Exception;

    public void insertFileUploadInfos(List<FileUpload> fileUploads);
}
